import request from '@/utils/request'

// 发文记录列表
export function documentrecordLists(params?: Record<string, any>) {
    return request.get({ url: '/documentrecord/list', params })
}

// 发文记录详情
export function documentrecordDetail(params: Record<string, any>) {
    return request.get({ url: '/documentrecord/detail', params })
}

// 发文记录新增
export function documentrecordAdd(params: Record<string, any>) {
    return request.post({ url: '/documentrecord/add', params })
}

// 发文记录编辑
export function documentrecordEdit(params: Record<string, any>) {
    return request.post({ url: '/documentrecord/edit', params })
}

// 发文记录删除
export function documentrecordDelete(params: Record<string, any>) {
    return request.post({ url: '/documentrecord/del', params })
}
